package com.campus.commons.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 技术类型
 * </p>
 *
 * @author Rin
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SkillTag对象", description="技术类型")
public class SkillTag implements Serializable {
    /**
     * 所有的技术Tag；
     * key 技术TagId
     * value 技术Tag名称
     */
    public static Map<Integer, SkillTag> skillTags = new HashMap<>();
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "技术名称(java C  .....)")
    private String name;

    @ApiModelProperty(value = "标签类型Id")
    @TableField("typeId")
    private Integer typeid;


}
